package com.qvtu.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hyy
 * @since 2024-06-14
 */
@Getter
@Setter
@TableName("books")
public class Books implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    /**
     * 书籍编号
     */
    private String bookNo;

    /**
     * 书籍名称
     */
    private String bookName;

    /**
     * 书籍状态
     */
    private Integer bookStatus;

    /**
     * 书籍样式
     */
    private Integer bookType;

    /**
     * 书籍作者
     */
    private String bookAuthor;

    /**
     * 书籍数量
     */
    private Integer bookCount;

    /**
     * 出版社
     */
    private Integer publisher;

    /**
     * 出版时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate pressDate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updataTime;


}
